WeglotWP\Services\Translate_Service_Weglot A

Total Complexity 72
Dependencies 10
Dependents 2
Total lines 431
Lines of code 255
Logical lines of code 159
Comment lines 121
Methods 13
Properties 8

Methods 13

Method Rating Maintainability Complexity Lines of code
weglot_treat_page()
D
28
37 124
weglot_render_dom()
S
54 6 20
reverseTranslate()
S
48 5 32
check_ajax_exclusion_before_treat()
S
66 5 8
force_translate_cart()
S
58 4 15
check_404_exclusion_before_treat()
S
61 4 13
get_canonical_url_from_content()
S
61 4 12
disable_automated_translation_services()
S
65 2 9
__construct()
S
66 1 8
weglot_translate()
S
80 1 3
set_current_language()
S
76 1 4
set_original_language()
S
76 1 4
remove_comments()
S
79 1 3